package com.mapper;

import java.util.List;
import java.util.Map;

import com.model.Notices;

public interface NoticesMapper {

	//返回所有记录
	public List<Notices> findNoticesList();
	
	//查询多条记录
	public List<Notices> query(Map<String,Object> inputParam);
	
	//得到记录总数
	int getCount(Map<String,Object> inputParam);
	
	//添加
	public int insertNotices(Notices notices);

	//根据ID删除
	public int deleteNotices(int id);
	
	//更新
	public int updateNotices(Notices notices);
	
	//根据ID得到对应的记录
	public Notices queryNoticesById(int id);
	
}

